<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfError</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch02.html" title="Common libinfinity API">
<link rel="prev" href="libinfinity-0.4-InfCertificateCredentials.html" title="InfCertificateCredentials">
<link rel="next" href="libinfinity-0.4-InfProtocol.html" title="InfProtocol">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libinfinity-0.4-InfCertificateCredentials.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="libinfinity-0.4-InfProtocol.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libinfinity-0.4-InfError.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libinfinity-0.4-InfError.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="InfError">
<a name="libinfinity-0.4-InfError"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libinfinity-0.4-InfError.top_of_page"></a>InfError</span></h2>
<p>InfError — Common error codes</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="libinfinity-0.4-InfError.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libinfinity-0.4-InfError.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libinfinity/common/inf-error.h&gt;

enum                <a class="link" href="libinfinity-0.4-InfError.html#InfRequestError" title="enum InfRequestError">InfRequestError</a>;
enum                <a class="link" href="libinfinity-0.4-InfError.html#InfUserError" title="enum InfUserError">InfUserError</a>;
enum                <a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError">InfDirectoryError</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="libinfinity-0.4-InfError.html#inf-request-error-quark" title="inf_request_error_quark ()">inf_request_error_quark</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libinfinity-0.4-InfError.html#inf-request-strerror" title="inf_request_strerror ()">inf_request_strerror</a>                (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfRequestError" title="enum InfRequestError"><span class="type">InfRequestError</span></a> code</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="libinfinity-0.4-InfError.html#inf-user-error-quark" title="inf_user_error_quark ()">inf_user_error_quark</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libinfinity-0.4-InfError.html#inf-user-strerror" title="inf_user_strerror ()">inf_user_strerror</a>                   (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfUserError" title="enum InfUserError"><span class="type">InfUserError</span></a> code</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="libinfinity-0.4-InfError.html#inf-directory-error-quark" title="inf_directory_error_quark ()">inf_directory_error_quark</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libinfinity-0.4-InfError.html#inf-directory-strerror" title="inf_directory_strerror ()">inf_directory_strerror</a>              (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError"><span class="type">InfDirectoryError</span></a> code</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="libinfinity-0.4-InfError.html#inf-gnutls-error-quark" title="inf_gnutls_error_quark ()">inf_gnutls_error_quark</a>              (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinfinity-0.4-InfError.html#inf-gnutls-set-error" title="inf_gnutls_set_error ()">inf_gnutls_set_error</a>                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-crypto.html#int"><span class="type">int</span></a> error_code</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="libinfinity-0.4-InfError.html#inf-gsasl-error-quark" title="inf_gsasl_error_quark ()">inf_gsasl_error_quark</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinfinity-0.4-InfError.html#inf-gsasl-set-error" title="inf_gsasl_set_error ()">inf_gsasl_set_error</a>                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-crypto.html#int"><span class="type">int</span></a> error_code</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="libinfinity-0.4-InfError.description"></a><h2>Description</h2>
<p>
This section defines some common error codes that are used on both client
and server side in infinote, and maps these to <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>s.
</p>
</div>
<div class="refsect1" title="Details">
<a name="libinfinity-0.4-InfError.details"></a><h2>Details</h2>
<div class="refsect2" title="enum InfRequestError">
<a name="InfRequestError"></a><h3>enum InfRequestError</h3>
<pre class="programlisting">typedef enum _InfRequestError {
  INF_REQUEST_ERROR_UNKNOWN_DOMAIN,
  INF_REQUEST_ERROR_REPLY_UNPROCESSED,
  INF_REQUEST_ERROR_INVALID_SEQ,
  INF_REQUEST_ERROR_NO_SUCH_ATTRIBUTE,
  INF_REQUEST_ERROR_INVALID_NUMBER,

  INF_REQUEST_ERROR_FAILED
} InfRequestError;
</pre>
<p>
These are general request errors that all <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a>s can
fail with. Specific requests may also fail with more errors, such as
<a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError"><span class="type">InfDirectoryError</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="INF-REQUEST-ERROR-UNKNOWN-DOMAIN:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_UNKNOWN_DOMAIN</code></span></p></td>
<td>The server sent &lt;request-failed/&gt;
with an unknown error domain.
</td>
</tr>
<tr>
<td><p><a name="INF-REQUEST-ERROR-REPLY-UNPROCESSED:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_REPLY_UNPROCESSED</code></span></p></td>
<td>An error occured while processing the
server reply for a request.
</td>
</tr>
<tr>
<td><p><a name="INF-REQUEST-ERROR-INVALID-SEQ:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_INVALID_SEQ</code></span></p></td>
<td>The server sent an invalid sequence number
in a reply to a request.
</td>
</tr>
<tr>
<td><p><a name="INF-REQUEST-ERROR-NO-SUCH-ATTRIBUTE:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_NO_SUCH_ATTRIBUTE</code></span></p></td>
<td>A request did not contain a XML
attribute that is required to complete the request.
</td>
</tr>
<tr>
<td><p><a name="INF-REQUEST-ERROR-INVALID-NUMBER:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_INVALID_NUMBER</code></span></p></td>
<td>A number in a request was invalid.
Either it was not numerical, or it produced an underflow or an overflow.
</td>
</tr>
<tr>
<td><p><a name="INF-REQUEST-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">INF_REQUEST_ERROR_FAILED</code></span></p></td>
<td>Generic error code when no further reason of
failure is known.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum InfUserError">
<a name="InfUserError"></a><h3>enum InfUserError</h3>
<pre class="programlisting">typedef enum _InfUserError {
  INF_USER_ERROR_NAME_IN_USE,
  INF_USER_ERROR_ID_PROVIDED,
  INF_USER_ERROR_NO_SUCH_USER,
  INF_USER_ERROR_STATUS_UNAVAILABLE,
  INF_USER_ERROR_NOT_JOINED,
  INF_USER_ERROR_INVALID_STATUS,

  INF_USER_ERROR_FAILED
} InfUserError;
</pre>
<p>
These are errors related to users. They may occur during user join or
during processing a user-related message, such as a user status change
message in an <a class="link" href="InfSession.html" title="InfSession"><span class="type">InfSession</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="INF-USER-ERROR-NAME-IN-USE:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_NAME_IN_USE</code></span></p></td>
<td>The requested name is already in use by
another user.
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-ID-PROVIDED:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_ID_PROVIDED</code></span></p></td>
<td>The client provided a user ID field in a
user join request, but it's the server's job to find an ID.
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-NO-SUCH-USER:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_NO_SUCH_USER</code></span></p></td>
<td>A request referred to a user ID that no user
is associated with.
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-STATUS-UNAVAILABLE:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_STATUS_UNAVAILABLE</code></span></p></td>
<td>The initial user status was given as
unavailable during user join or rejoin.
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-NOT-JOINED:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_NOT_JOINED</code></span></p></td>
<td>The user did not join from the connection the
request comes from. For example, a user status change can only be requested
from the same connection that joined the user.
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-INVALID-STATUS:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_INVALID_STATUS</code></span></p></td>
<td>An invalid status was used in a XML
request. Allowed status values are "unavailable", "inactive" or "active".
</td>
</tr>
<tr>
<td><p><a name="INF-USER-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">INF_USER_ERROR_FAILED</code></span></p></td>
<td>Generic error code when no further reason of
failure is known.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum InfDirectoryError">
<a name="InfDirectoryError"></a><h3>enum InfDirectoryError</h3>
<pre class="programlisting">typedef enum _InfDirectoryError {
  INF_DIRECTORY_ERROR_NO_WELCOME_MESSAGE,
  INF_DIRECTORY_ERROR_VERSION_MISMATCH,
  INF_DIRECTORY_ERROR_NODE_EXISTS,
  INF_DIRECTORY_ERROR_INVALID_NAME,
  INF_DIRECTORY_ERROR_NO_SUCH_NODE,
  INF_DIRECTORY_ERROR_NO_SUCH_SUBSCRIPTION_REQUEST,
  INF_DIRECTORY_ERROR_CHAT_DISABLED,
  INF_DIRECTORY_ERROR_NOT_A_SUBDIRECTORY,
  INF_DIRECTORY_ERROR_NOT_A_NOTE,
  INF_DIRECTORY_ERROR_ROOT_NODE_REMOVE_ATTEMPT,
  INF_DIRECTORY_ERROR_ALREADY_EXPLORED,
  INF_DIRECTORY_ERROR_TOO_MUCH_CHILDREN,
  INF_DIRECTORY_ERROR_TOO_FEW_CHILDREN,
  INF_DIRECTORY_ERROR_TYPE_UNKNOWN,
  INF_DIRECTORY_ERROR_ALREADY_SUBSCRIBED,
  INF_DIRECTORY_ERROR_UNSUBSCRIBED,
  INF_DIRECTORY_ERROR_NETWORK_UNSUPPORTED,
  INF_DIRECTORY_ERROR_METHOD_UNSUPPORTED,
  INF_DIRECTORY_ERROR_UNEXPECTED_SYNC_IN,
  INF_DIRECTORY_ERROR_UNEXPECTED_MESSAGE,

  INF_DIRECTORY_ERROR_FAILED
} InfDirectoryError;
</pre>
<p>
These are errors related to the directory of documents. These errors can
be reason why requests created by <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> fail.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NO-WELCOME-MESSAGE:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NO_WELCOME_MESSAGE</code></span></p></td>
<td>A client did not receive the
directory's initial welcome message.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-VERSION-MISMATCH:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_VERSION_MISMATCH</code></span></p></td>
<td>The server and client use
different versions of the protocol.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NODE-EXISTS:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NODE_EXISTS</code></span></p></td>
<td>A node with the given name exists
already in that subdirectory (in response to node creation requests).
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-INVALID-NAME:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_INVALID_NAME</code></span></p></td>
<td>A node with an invalid name was
attempted to be created.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NO-SUCH-NODE:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NO_SUCH_NODE</code></span></p></td>
<td>The node refered to in a request does
not exist in the directory (anymore).
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NO-SUCH-SUBSCRIPTION-REQUEST:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NO_SUCH_SUBSCRIPTION_REQUEST</code></span></p></td>
<td>A &lt;subscribe-ack&gt;
or &lt;subscribe-nack&gt; has been received without a previous request.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-CHAT-DISABLED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_CHAT_DISABLED</code></span></p></td>
<td>A client attempted to subscribe to a
server's chat, but the chat is disabled on the server side.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NOT-A-SUBDIRECTORY:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NOT_A_SUBDIRECTORY</code></span></p></td>
<td>The node refered to in a request
is not a subdirectory node, but the requested operation requires one.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NOT-A-NOTE:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NOT_A_NOTE</code></span></p></td>
<td>The node refered to in a request is not
a note (non-subdirectory) node, but the requested operations requires one.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-ROOT-NODE-REMOVE-ATTEMPT:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_ROOT_NODE_REMOVE_ATTEMPT</code></span></p></td>
<td>A &lt;remove-node&gt;
request attempted to remove a directory's root node, which is not allowed.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-ALREADY-EXPLORED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_ALREADY_EXPLORED</code></span></p></td>
<td>The node given in an exploration
request has already been explored earlier.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-TOO-MUCH-CHILDREN:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_TOO_MUCH_CHILDREN</code></span></p></td>
<td>Exploration yields more children
than announced at the beginning of the exploration.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-TOO-FEW-CHILDREN:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_TOO_FEW_CHILDREN</code></span></p></td>
<td>Exploration yields less children
than announced at the beginning of the exploration.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_TYPE_UNKNOWN</code></span></p></td>
<td>The type of a note is not known.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-ALREADY-SUBSCRIBED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_ALREADY_SUBSCRIBED</code></span></p></td>
<td>The connection already subscribed
to the node refered to, but the requested operation requires it to be
unsubscribed.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-UNSUBSCRIBED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_UNSUBSCRIBED</code></span></p></td>
<td>The connection is not subscribed to the
node refered to, but the requested operation requires it to be subscribed.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-NETWORK-UNSUPPORTED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_NETWORK_UNSUPPORTED</code></span></p></td>
<td>The server does not support the
network of the incoming connection for the requested operation. For
example, subscribing to a session might require a network that has a
peer-to-peer communication method, but there is no implementation of that
method for the connection's network.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-METHOD-UNSUPPORTED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_METHOD_UNSUPPORTED</code></span></p></td>
<td>The server requested a
communaction method for subscription or synchronization that is not
supported by the client.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-UNEXPECTED-SYNC-IN:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_UNEXPECTED_SYNC_IN</code></span></p></td>
<td>A client received a
&lt;sync-in/&gt; without having requested one. The client has no data to
sync to the server.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-UNEXPECTED-MESSAGE:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_UNEXPECTED_MESSAGE</code></span></p></td>
<td>A message that is not understood
was received.
</td>
</tr>
<tr>
<td><p><a name="INF-DIRECTORY-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">INF_DIRECTORY_ERROR_FAILED</code></span></p></td>
<td>Generic error code when no further reason of
failure is known.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_request_error_quark ()">
<a name="inf-request-error-quark"></a><h3>inf_request_error_quark ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              inf_request_error_quark             (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Error domain for request errors. Errors in this domain will be from the
<a class="link" href="libinfinity-0.4-InfError.html#InfRequestError" title="enum InfRequestError"><span class="type">InfRequestError</span></a> enumeration. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error domains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A GQuark.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_request_strerror ()">
<a name="inf-request-strerror"></a><h3>inf_request_strerror ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       inf_request_strerror                (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfRequestError" title="enum InfRequestError"><span class="type">InfRequestError</span></a> code</code></em>);</pre>
<p>
Returns a human-readable string for the given error code.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>An error code from the <a class="link" href="libinfinity-0.4-InfError.html#InfRequestError" title="enum InfRequestError"><span class="type">InfRequestError</span></a> enumeration.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A static string that must not be freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_user_error_quark ()">
<a name="inf-user-error-quark"></a><h3>inf_user_error_quark ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              inf_user_error_quark                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Error domain for user-related errors. Errors in this domain will be from
the <a class="link" href="libinfinity-0.4-InfError.html#InfUserError" title="enum InfUserError"><span class="type">InfUserError</span></a> enumeration. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error
domains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A GQuark.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_user_strerror ()">
<a name="inf-user-strerror"></a><h3>inf_user_strerror ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       inf_user_strerror                   (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfUserError" title="enum InfUserError"><span class="type">InfUserError</span></a> code</code></em>);</pre>
<p>
Returns a human-readable string for the given error code.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>An error code from the <a class="link" href="libinfinity-0.4-InfError.html#InfUserError" title="enum InfUserError"><span class="type">InfUserError</span></a> enumeration.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A static string that must not be freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_directory_error_quark ()">
<a name="inf-directory-error-quark"></a><h3>inf_directory_error_quark ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              inf_directory_error_quark           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Error domain for directory errors. Errors in this domain will be from the
<a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError"><span class="type">InfDirectoryError</span></a> enumeration. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error
domains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A GQuark.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_directory_strerror ()">
<a name="inf-directory-strerror"></a><h3>inf_directory_strerror ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       inf_directory_strerror              (<em class="parameter"><code><a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError"><span class="type">InfDirectoryError</span></a> code</code></em>);</pre>
<p>
Returns a human-readable string for the given error code.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>An error code from the <a class="link" href="libinfinity-0.4-InfError.html#InfDirectoryError" title="enum InfDirectoryError"><span class="type">InfDirectoryError</span></a> enumeration.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A static string that must not be freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gnutls_error_quark ()">
<a name="inf-gnutls-error-quark"></a><h3>inf_gnutls_error_quark ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              inf_gnutls_error_quark              (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Error domain for GnuTLS errors. Errors in this domain will be GnuTLS error
codes. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error domains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A GQuark.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gnutls_set_error ()">
<a name="inf-gnutls-set-error"></a><h3>inf_gnutls_set_error ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gnutls_set_error                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-crypto.html#int"><span class="type">int</span></a> error_code</code></em>);</pre>
<p>
Sets a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> from a GnuTLS error code. If <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, does nothing.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
<td>A GnuTLS error code.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gsasl_error_quark ()">
<a name="inf-gsasl-error-quark"></a><h3>inf_gsasl_error_quark ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              inf_gsasl_error_quark               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Error domain for GNU SASL errors. Errors in this domain will be GNU SASL
error codes. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error domains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A GQuark.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gsasl_set_error ()">
<a name="inf-gsasl-set-error"></a><h3>inf_gsasl_set_error ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gsasl_set_error                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-crypto.html#int"><span class="type">int</span></a> error_code</code></em>);</pre>
<p>
Sets a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> from a GNU SASL error code. If <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, does nothing.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
<td>A GNU SASL error code.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>